package com.hxkj.service;

import com.github.pagehelper.PageInfo;
import com.hxkj.domain.po.RankingManagement;
import com.platform.common.domain.result.ResultDataStruct;
import com.platform.common.domain.result.ResultMessageStruct;
import com.platform.common.domain.to.PageTo;

/**
 * 权限mapper
 * <p>
 * Created by yaosy 2018年6月28日20:41:52
 */
public interface RankingManagementService {

    /**
     * 保存排行榜管理
     *
     * @param rankingManagement
     * @return
     * @throws Exception
     */
    ResultMessageStruct save(RankingManagement rankingManagement) throws Exception;


    /**
     * 获取排行榜管理列表
     *
     * @return
     * @throws Exception
     */
    PageInfo<RankingManagement> getlist (RankingManagement rankingManagement, PageTo pageParam) throws Exception;

    /**
     * 获取单条排行榜
     *
     * @return
     * @throws Exception
     */
    ResultDataStruct<RankingManagement> get(RankingManagement rankingManagement) throws Exception;



    /**
     * 更新保存
     *
     * @param rankingManagement
     */
    ResultMessageStruct modify(RankingManagement rankingManagement);


    /**
     * 删除
     *
     * @param rankingManagement
     */
    ResultMessageStruct delete(RankingManagement rankingManagement);


}
